package com.freeland.client2009.webservices;

import javax.jws.WebParam;
import javax.jws.WebService;


/**
 * 
 * @author HuYanping 2009-12-09
 *
 */
@WebService
public interface GameService {
	/**
	 * 获取游戏信息数据
	 * @param sCooperationId 合作商ID
	 * @return 游戏数据
	 */
	public String getGameInfoList(@WebParam(name="sCooperationId")String sCooperationId);
	/**
	 * 获取该地区之前的游戏推送设置列表
	 * @param sCooperationId 合作商ID
	 * @param sAreaId 地区ID
	 * @return
	 */
	public String  getPushedGameInfoList(@WebParam(name="sCooperationId")String sCooperationId,@WebParam(name="sAreaId")String sAreaId,@WebParam(name="sNetBarId")String sNetBarId);

	/**
	 * 获取该地区卸载的游戏列表
	 * @param sCooperationId 合作商ID
	 * @param sAreaId 地区ID
	 * @return
	 */
	public String  getDeletedGameInfoList(@WebParam(name="sCooperationId")String sCooperationId,@WebParam(name="sAreaId")String sAreaId,@WebParam(name="sNetBarId")String sNetBarId);

	
	/**
	 * 设置下次获取游戏数据时，不用再次获取的游戏ID号
	 * @param sCooperationId 合作商ID
	 * @param sGameId 游戏ID,多个游戏ID可以在ID间设置“,”
	 * @return 设置结果
	 */
	public int setGameInfoProperty(@WebParam(name="sCooperationId")String sCooperationId, @WebParam(name="sGameId")String sGameId);
}